package com.parking.model;

import java.security.Key;
import java.util.Date;

public class Park {
	private Key id;
	private TypeEnum type;
	private String street;
	private Double latitude;
	private Double longitude;
	private Date date;
	private String user;
	
	public Park(){	
	}

	public Park(TypeEnum type, String street, Double latitude,
			Double longitude, Date date, String user) {
		super();
		this.type = type;
		this.street = street;
		this.latitude = latitude;
		this.longitude = longitude;
		this.date = date;
		this.user = user;
	}

	public Key getId() {
		return id;
	}

	public void setId(Key id) {
		this.id = id;
	}
	
	public TypeEnum getType() {
		return type;
	}
	public void setType(TypeEnum type) {
		this.type = type;
	}
	public String getStreet() {
		return street;
	}
	public void setStreet(String street) {
		this.street = street;
	}
	public Double getLatitude() {
		return latitude;
	}
	public void setLatitude(Double latitude) {
		this.latitude = latitude;
	}
	public Double getLongitude() {
		return longitude;
	}
	public void setLongitude(Double longitude) {
		this.longitude = longitude;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public String getUser() {
		return user;
	}
	public void setUser(String user) {
		this.user = user;
	}
	
	
}
